#!/usr/bin/perl
use strict;
use warnings;
use PerlDaemonKitControl;

my $daemonControl = PerlDaemonKitControl->new();    # instantiate a daemon control object

$daemonControl->daemonCommand("mydaemon");          # the command to execute
$daemonControl->daemonCommandPath("/usr/sbin/");    # path to the above command
$daemonControl->daemonCommandParms("");             # options for above command
$daemonControl->daemonCommandName("My Daemon");     # name of the command

$daemonControl->execute();                          # execute your shiny new daemon controller!
